package me.zingon.doc.dao;

import me.zingon.doc.model.User;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

/**
* Created by ZTCGenerator<zingon@aliyun.com> on 2018-5-31.
*/
public interface UserDao{

    int insert(User user);

    int delete(User user);

    int deleteByIds(@Param("ids") Integer[] ids);

    int update(User user);

    User getById(@Param("id") Integer id);

    List<User> list(User user);
}